package com.dragondig.tetris;

import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.util.Log;

public class ITetri extends SuperTetri {
	ITetri(){
		for(int i = 0;i < 4;i ++){
			for(int j = 0;j < 4;j ++){
				for(int k = 0;k < 4;k ++){
					if(i % 2 == 0){
						if(j == 0){
							tetriContainer[i][j][k] = true;
						}
					}else{
						if(k == 0){
							tetriContainer[i][j][k] = true;
						}
					}
					//Log.v("SuperTetri", "I:"+ i + " J:" + j + " K:" + k + " " + tetriContainer[i][j][k] + "/");
				}
			}
			if(i % 2 == 0){
				width[i] = 4;
				height[i] = 1;
			}else{
				width[i] = 1;
				height[i] = 4;
			}
		}
	}

	@Override
	public boolean draw(Canvas canvas, int leftPointX, int leftPointY) {
		// TODO Auto-generated method stub
		Paint pa = new Paint();
		pa.setColor(Color.BLUE);
		Log.v("SuperTetri", "ITetri is Drawing...");
		super.draw(canvas, leftPointX, leftPointY, pa);
		return true;
	}

}
